Search results

37 packages found

Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.

published 2.0.1 4 years ago
M
Q
P

Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.

published 1.0.7 2 years ago
M
Q
P

Strip comments from code. Removes both line comments and/or block comments, with options to leave protected comments unharmed.

published 1.3.0 24 days ago
M
Q
P

Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.

published 0.2.0 9 years ago
M
Q
P

Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.

published 1.0.0 6 years ago
M
Q
P

RegExp for matching JavaScript-style block comments in a string. Should also work for SASS, LESS and other languages with the same block comment format.

published 0.1.1 9 years ago
M
Q
P

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).

published 1.1.0 5 years ago
M
Q
P

Extract code comments from string or from a glob of files using esprima.

published 1.1.0 6 years ago
M
Q
P

This is a temp fork of Jon Schlinkert's strip-comments with HTML removed for Safari Support

published 2.0.6 a year ago
M
Q
P

Strip code between comment blocks or by regex.

published 0.1.4 8 years ago
M
Q
P

Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.

published 3.0.1 3 years ago
M
Q
P

Regular expression for matching JavaScript comments

published 2.0.0 3 years ago
M
Q
P

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).

published 1.1.1 5 years ago
M
Q
P

Simple cli library to allow, fast allow/block of domains in /etc/hosts by adding, commenting and uncommenting [127.0.0.1 host] entries

published 1.0.1 6 years ago
M
Q
P

Add additional styles to a block of text

published 1.0.3 7 years ago
M
Q
P

Create custom comments RegExps. Leading and trailing space tolerant. With a content match.

published 1.0.0 a year ago
M
Q
P

Uncomment html, js or css

published 1.0.0 9 years ago
M
Q
P

Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.

published 1.0.1 4 years ago
M
Q
P

Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.

published 1.0.1 4 years ago
M
Q
P

Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.

published 1.0.1 4 years ago
M
Q
P